@foreach($lis as $item)
    <input type="checkbox"
           {{ $attributes->merge(['class' => 'layui-input']) }}
           value="{{$item['id']}}"
           title="{{$item['name']}}"
           lay-skin="primary"
           @if(in_array($item['id'],$value)) checked @endif/>
@endforeach


